{template "content","header"}

<div class="realwrap clear" style="margin:12px auto;">
	<img src="{IMG_PATH}service.png" />
</div>

<div class="realwrap listbox">
	<div class="listtab clear">
		<a {if $_GET[order]==''}class="cur"{/if} href="{APP_PATH}index.php?m=search&c=index&a=shop&q={$q}">达拉高推荐</a>
		<a {if $_GET[order]=='stock'}class="cur"{/if} href="{APP_PATH}index.php?m=search&c=index&a=shop&q={$q}&order=stock">房间多</a>
		<a {if $_GET[order]=='price'}class="cur"{/if} href="{APP_PATH}index.php?m=search&c=index&a=shop&q={$q}&order=price">价格低</a>
	</div>
	
		<ul class="list_hotel clear">
		{php $i=1}
		 {loop $listdata $val}
			<li {if $i%4==0}style="margin-right:0"{/if}><a href="{APP_PATH}index.php?m=content&c=shang&a=hotel&id={$val[userid]}">
				<img src="{$val[photo]}" width="226" height="148" />
				</a>
				<div class="desc">
					<h3><a href="{APP_PATH}index.php?m=content&c=shang&a=hotel&id={$val[userid]}">{$val[name]}</a></h3>
					<p class="intro">{$val[intro]}</p>
					<div class="other1 clear">
						<p  class="price">
						<span style="color:#00a2ff">普卡会员：{$val[price]}</span><br />
						<span style="color:#ff1200">金卡会员：{php echo $val[price]*($val[zhekou]*0.01)}</span>
						</p>
						<a href="{APP_PATH}index.php?m=content&c=shang&a=hotel&id={$val[userid]}" class="yudingbtn">预订</a>
					</div>
				</div>
					
			</li>
			{$i++}
		{/loop}
		</ul>
		<div id="pages">{$pages}</div>

</div>

{template "content","footer"}